package org.grow.later.score;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import javax.transaction.Transactional;
import java.util.List;

@Repository
public interface ScoreJpa extends JpaRepository<StudentScore,Long> {
    StudentScore findByScoreId(Long code);

    List<StudentScore> findByStudentnameLike(String name);

    @Transactional
    void deleteByScoreId(Long code);


}

